max-metric router-lsa
This command sets the time (seconds) to advertise self as stub-router.
Syntax
max-metric router-lsa {on-startup|on-shutdown} number
max-metric router-lsa administrative 
no max-metric router-lsa [on-startup|on-shutdown|administrative]  
                                            | Command | Description | 
|---|---|
| on-startup | Defines the time (seconds) to advertise self as stub-router. | 
| on-shutdown | Defines the time (seconds) to wait till full shutdown. | 
| number | Defines the time (seconds) in the range of 5 – 86400. | 
Default
NA
Command Mode
Privileged User
Example
This example sets the time (seconds) to advertise self as stub-router.
(config-data) router ospf (conf-router) # max-metric router-lsa administrative